﻿using PerceptiveMCAPI.Types;
//
namespace PerceptiveMCAPI
{
   internal static class campaignUpdate_Validator
   {
      // campaignUpdate values
      internal static Api_ValidatorMessage value_valid( string name, object value )
      {
         if ( value == null )
            return Validator.FormatMsg( EnumValues.MessageLevel.Error, "value",
               string.Format( "Value not supplied for parameter named '{0}'", name ) );

         // TODO: validate name/value combinations
         return Validator.FormatMsg( EnumValues.MessageLevel.Warning, "value",
          "Validation of values is not currently available." );
      }

   }
}
